<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php if ( is_home() ) { ?><?php bloginfo('description'); ?> <?php bloginfo('name'); ?><?php } elseif ( is_singular() ) { ?><?php wp_title(''); ?> &laquo; <?php bloginfo('name'); ?><?php } else { bloginfo('name'); }?></title>

<link rel="stylesheet" href="<?php violinesth_css(); ?>" type="text/css" media="screen" />

<style type='text/css'>
<?php if ( get_bloginfo('language') == 'zh' ) { ?>
.narrowcolumn .entry { font-size: 1.2em;color:#777; }
#sidebars .submenu li, #sidebars #submenu li,#sidebars h4,#sidebars h2{font-size: 12px;}
.wp-caption p.wp-caption-text {font-size: 1em;}
<?php } ?>
#header{background: url(https://lh4.googleusercontent.com/_Xv6mxvviAxI/TX9D3kTeuxI/AAAAAAAAAhU/vKVvaPK7IFQ/green.jpg) no-repeat center; border: none;}
</style>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if IE]>
<style type="text/css">
<!-- #sidebars .submenu, #sidebars #submenu{margin-left: -10px;} -->
</style>
<![endif]-->

<?php if ( is_singular() && !is_home() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php //if ( is_home() ) :?>
<link href="http://fonts.googleapis.com/css?family=Arimo:regular,italic,bold,bolditalic&subset=latin" rel="stylesheet" type="text/css" ><style>h2{font-family: 'Arimo', serif;font-size: 29px;font-style: normal;font-weight: 700;text-shadow: 4px 4px 4px #bbb; text-decoration: none;text-transform: none;letter-spacing: 0em;word-spacing: 0em;line-height: 1.2;}a.shot:hover{border: solid 1px #ccc;}</style>
<?php //endif;?>
<?php wp_head(); ?>
</head>
<body>
<div id="page">

<div id="title">
	<div class="description"><?php bloginfo('description'); ?>
		<form method="get" action="http://tags.bloggles.info/" class="topsearch">
			<input type="text" name="s" id="s" value="Search Blog" onfocus="if(this.value=='Search Blog'){this.value=''};" onblur="if(this.value==''){this.value='Search Blog'};" />
			<input type="hidden" id="searchsubmit" value="Search" />
		</form>
	</div>

	<h1><a href="http://bloggles.info/"><img src="https://lh6.googleusercontent.com/_Xv6mxvviAxI/TX9GcFKqOTI/AAAAAAAAAho/TbV4SMgrGro/s800/logo.gif" broder="none" /></a></a></h1>
	
</div>

<div id="header">
	<div id="headerimg">
		<ul>
			<li class="page_item page-item-1"><a title="Click here to signup a blog" href="http://bloggles.info/signup/?ref=button">Get Blog!</a></li>
			<?php wp_list_pages('exclude=13&sort_column=menu_order&depth=1&title_li='); ?>
			<li class="page_item page-item-15"><a title="blogates story" href="http://blogates.com/about.php">About us</a></li>
			<li class="page_item page-item-16"><?php wp_loginout(); ?></li>
		</ul>

		<h1 class="ap">
		<?php 
if ($_GET['sp'] == '1') { 
				echo "This blog has been archived or suspended.";
} elseif ( is_home() ) { ?>
			Express Yourself, <a title="Click here to signup a blog" href="http://bloggles.info/signup/?ref=index">Get Your Blog!</a>
		<?php } elseif ( is_category() ) { ?>
			Category: <?php single_cat_title(''); ?>
		<?php } elseif ( is_day() ) { ?>
			Blog archives for the day <?php the_time('l, F jS, Y'); ?>
		<?php } elseif ( is_month() ) { ?>
			Blog archives for <?php the_time('F, Y'); ?>
		<?php } elseif ( is_year() ) { ?>
			Blog archives for the year <?php the_time('Y'); ?>
		<?php } elseif ( is_search() ) { ?>
			Blog result for <?php the_search_query(); ?>
		<?php } elseif ( is_tag() ) { ?>
			Posts Tagged: <?php single_tag_title(); ?>
		<?php } elseif ( is_singular() ) { ?>
			<?php wp_title('');
		} ?>
		</h1>
	</div>
</div>
<hr />

<?php if ( ! get_option('violinesth') ) { ?>
<div class="leftcol">
	<div id="sidebars">
		<ul class="submenu">
		<?php
			if ( !is_user_logged_in() && is_home() ) {
			?>
				<li><h4>Blogger?</h4><ul>
					<form name="loginform" id="loginform" action="http://bloggles.info/wp-login.php" method="post">
					<label>Username or Email<br /><input type="text" name="log" id="user_login" value="" tabindex="1" width="100px" /></label>
					<label>Password<br /><input type="password" name="pwd" id="user_pass" value="" width="100px" tabindex="2" /></label><br />

					<label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me<a href="http://faqs.bloggles.info/2008/03/22/what-is-remember-me-login/" title="what is this?">?</a></label><br />
					<input type="hidden" id="redirect_to" name="redirect_to" value="http://bloggles.info/?<?php echo time(); ?>" />
					<input type="hidden" id="testcookie" name="testcookie" value="0" />
					<input type="submit" name="wp-submit" id="wp-submit" value="Login" tabindex="4" /><br />
					<a href="http://bloggles.info/wp-login.php?action=lostpassword">Lost your password?</a><br />
					<a rel="nofollow" href="http://bloggles.info/signup/?ref=wpbutton">Get a free blog!</a>
				</form>
				</ul></li>
		<?php } ?>
		<script type="text/javascript">document.cookie='TESTCOOKIE=home; expires=<?php $exp = 432000 + time(); echo date(("D, d-M-Y H:i:s"), $exp) . ' GMT'; ?>; path=/';document.getElementById('testcookie').value='1'</script>


		<li><h4>Blog Help</h4><ul>
		<?php
		require_once (ABSPATH . WPINC . '/rss.php');

		$rss = @fetch_rss('http://faqs.bloggles.info/feed/');
		if ( isset($rss->items) && 0 != count($rss->items) ) {
		?>
			<?php
			$rss->items = array_slice($rss->items, 0, 5);
			foreach ($rss->items as $item ) {
				?>
				<li><a rel='nofollow' href='<?php echo wp_filter_kses($item['link']); ?>' title='<?php echo wp_specialchars($item['title']); ?>'><?php echo wp_specialchars($item['title']); ?></a></li>
				<?php
			}
		}
		?>
		</ul></li>

			<?php 	/* Widgetized sidebar, if you have the plugin installed. */
					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('left-sidebar') ) : ?>
			<?php if ( !is_home() ) { ?>
			<li><h4>Archives</h4>
				<ul>
				<?php wp_get_archives('type=monthly'); ?>
				</ul>
			</li>

			<?php wp_list_categories('show_count=1&title_li=<h4>Categories</h4>'); ?>
			<?php } ?>

			<?php endif; ?>

			<li><h4>About Blogates</h4>
				<ul>
                		<li><a rel="nofollow" title="Blog Helper" href="http://faqs.bloggles.info">Faqs</a></li>
		                <li><a rel="nofollow" title="Blog ping" href="http://pingates.com/">Ping your blog</a></li>
                		<li><a rel="nofollow" title="Cookies Information" href="http://blogates.com/cookies.html">Cookies</a></li>
		                <li><a rel="nofollow" title="Blogates Button" href="http://blogates.com/links.html">Link to us</a></li>
                		<li><a rel="nofollow" title="Terms of Service" href="http://blogates.com/tos.php">Terms of Service</a></li>
		                <li><a rel="nofollow" title="Our Privacy" href="http://blogates.com/privacy.php">Privacy</a></li>
				</ul>
			</li>

<?php if ( !is_ads_free() && is_home() ) { ?>
<li><ul>
<div style="margin-top:20px;border:solid 0px #FFCC99;padding:10px;-moz-box-shadow:rgba(200,200,200,1) 0 4px 18px;-webkit-box-shadow:rgba(200,200,200,1) 0 4px 18px;-khtml-box-shadow:rgba(200,200,200,1) 0 4px 18px;box-shadow:rgba(200,200,200,1) 0 4px 18px;align:center;">

<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id();?>";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text_image";
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "00688B";
google_color_url = "808080";
google_color_text = "808080";;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
				</ul></li>
<?php } ?>

		</ul>
	</div>
</div>
<?php } ?>